package javase_class_250907;

/**
 * ClassName: Chinese
 * Package: javase_class_250907
 * Description:
 *
 * @Author harkjeans
 * @Create 2025/9/7 12:23
 * @Version 1.0
 */
public class Chinese {
    private static String country;
    private String name;

    {
        System.out.println("非静态代码块：country = " + country);
    }

    static {
        country = "中国";
        System.out.println("静态代码块");
    }

    public Chinese(String name){
        this.name = name;
    }
}
